package com.example.activitysign.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.activitysign.entity.ActivityUserAwardRecord;
import com.example.activitysign.pages.PageResult;
import com.example.activitysign.pages.PageValidate;
import com.example.activitysign.validate.ActivityUserAwardRecordCreateValidate;
import com.example.activitysign.validate.ActivityUserAwardRecordSearchValidate;
import com.example.activitysign.validate.ActivityUserAwardRecordUpdateValidate;
import com.example.activitysign.vo.activity.ActivityUserAwardRecordDetailVo;
import com.example.activitysign.vo.activity.ActivityUserAwardRecordListedVo;

/**
 * 用户奖品记录服务接口类
 *
 * @author fei
 */
public interface IActivityUserAwardRecordService extends IService<ActivityUserAwardRecord> {

    /**
     * 用户奖品记录列表
     *
     * @param pageValidate   分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<ActivityUserAwardRecordListedVo>
     * @author fei
     */
    PageResult<ActivityUserAwardRecordListedVo> list(PageValidate pageValidate, ActivityUserAwardRecordSearchValidate searchValidate);

    /**
     * 用户奖品记录详情
     *
     * @param id 主键ID
     * @return ActivityUserAwardRecordDetailVo
     * @author fei
     */
    ActivityUserAwardRecordDetailVo detail(Long id);

    /**
     * 用户奖品记录新增
     *
     * @param createValidate 参数
     * @author fei
     */
    void add(ActivityUserAwardRecordCreateValidate createValidate);

    /**
     * 用户奖品记录编辑
     *
     * @param updateValidate 参数
     * @author fei
     */
    void edit(ActivityUserAwardRecordUpdateValidate updateValidate);

    /**
     * 用户奖品记录删除
     *
     * @param id 主键ID
     * @author fei
     */
    void del(Long id);

}

